package com.longtop.framework.common;

import java.util.List;

/**
 * 查询结果对象
 * 
 * @author 胡砥峰
 * 
 */
public class QueryResult {
	/**
	 * 查询结果列表
	 */
	private List resultList;
	/**
	 * 查询结果的总记录数
	 */
	private int totalRecordNumber;

	public QueryResult(List resultList, int totalRecordNumber) {
		this.resultList = resultList;
		this.totalRecordNumber = totalRecordNumber;
	}

	public List getResultList() {
		return resultList;
	}

	public void setResultList(List resultList) {
		this.resultList = resultList;
	}

	public int getTotalRecordNumber() {
		return totalRecordNumber;
	}

	public void setTotalRecordNumber(int totalRecordNumber) {
		this.totalRecordNumber = totalRecordNumber;
	}
}
